package com.pilipili.commonutils.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class Course {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "番剧ID")
    private String id;

    @ApiModelProperty(value = "番剧作者ID")
    private String teacherId;

    @ApiModelProperty(value = "番剧专业ID")
    private String subjectId;

    @ApiModelProperty(value = "番剧专业父级ID")
    private String subjectParentId;

    @ApiModelProperty(value = "番剧标题")
    private String title;

    @ApiModelProperty(value = "番剧销售价格，设置为0则可免费观看")
    private BigDecimal price;

    @ApiModelProperty(value = "总课时")
    private String lessonNum;

    @ApiModelProperty(value = "番剧封面图片路径")
    private String cover;

    @ApiModelProperty(value = "销售数量")
    private Long buyCount;

    @ApiModelProperty(value = "浏览数量")
    private Long viewCount;

    @ApiModelProperty(value = "乐观锁")
    private Long versions;

    @ApiModelProperty(value = "番剧状态 0未发布  1已发布")
    private Integer status;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;
}
